<?php
if (!defined('IN_SCSM')) {
	die("Hacking attempt");
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>SCS Multimedia HTML : <?=$site_title?></title>

	<script type="text/javascript" src="scripts/jquery-1.2.6.min.js"></script>
	<script type="text/javascript" src="scripts/menu.js"></script>
	<link rel="stylesheet" href="scripts/menu.css" type="text/css">
	<link rel="stylesheet" href="scripts/style.css" type="text/css">
	
    <!--[if IE]>
    <style type="text/css">
		.links {
			width: 25%;
		}
		.content A:link, A:active, A:visited {
			font-size: 14pt;
			/* font-weight: bold; */
			text-decoration: none;
		}

		.content A:hover {
			font-weight: bold;
			text-decoration: underline;
			color: #0000FF;
		}
    </style>
    <![endif]-->

	<script type="text/javascript">
	
	function slideSwitch() {
	    var $active = $('#slideshow IMG.active');
	
	    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
	
	    var $next =  $active.next().length ? $active.next()
	        : $('#slideshow IMG:first');
	
	    $active.addClass('last-active');
	
	    $next.css({opacity: 0.0})
	        .addClass('active')
	        .animate({opacity: 1.0}, 1000, function() {
	            $active.removeClass('active last-active');
	        });
	}
	
	$(function() {
	    setInterval( "slideSwitch()", 5000 );
	});

	function checkEmail() {
		var email = document.getElementById('email');
		var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		if (!filter.test(email.value)) {
		alert('Proszę podać poprawny adres email.');
		email.focus;
		return false;
		}
	}
	</script>

</head>
<body>
<a name="top"></a>
<div id="container">

	<div id="header">
		<div class="logo"><a href="index.php" title="SCS Multimedia"><img alt="SCS Multimedia" src="images/logo.png" width="300" height="116" border="0"></a></div>
		
		<div class="social">
			<img src="images/icon_facebook.png" width="32" height="32" title="Facebook" alt="Facebook">
			<img src="images/icon_skype.png" width="32" height="32" title="Skype" alt="Skype">
			<img src="images/icon_google.png" width="32" height="32" title="Google" alt="Google">
			<img src="images/icon_twitter.png" width="32" height="32" title="Twitter" alt="Twitter">
			<img src="images/icon_youtube.png" width="32" height="32" title="Youtube" alt="Youtube">
			<img src="images/icon_email.png" width="32" height="32" title="e-mail" alt="e-mail">
		</div>
		
		<div id="menu" class="solidblockmenu">
			<ul>
				<li><a href="index.php">Strona Główna</a></li>
				<li><a href="index.php?page=about">O firmie</a></li>
				<li><a href="index.php?page=supply">Oferta</a></li>
				<li><a href="index.php?page=partners">Partnerzy</a></li>
				<li><a href="index.php?page=contact">Kontakt</a></li>
			</ul>
		</div>
	</div>
